//package com.zwd.cases.demo.gof23.factorydemo.day20221024.Handler;
//
//import com.zwd.cases.demo.gof23.factorydemo.day20221024.Factory;
//import org.springframework.stereotype.Component;
//
///**
// * @Description 处理类-李四
// * @Author zhengwd
// * @Date 2022/10/24 1:04
// **/
//@Component
//public class LiSiHandler implements Handler {
//
//    @Override
//    public void AAA(String name) {
//        // 业务逻辑A
//        System.out.println("李四完成了逻辑AAA");
//    }
//
//    @Override
//    public void afterPropertiesSet() throws Exception {
//        Factory.register("李四", this);
//    }
//}
